{extends file="layout.tpl"}
{block name="content"}
<div class="page">
	<div class="page-title">
		<h2>{$title_form}</h2>
	</div>
	<div class="page-content _pd5">
	{if $checkloto != ''}
		<form action="" method="post">
			<div class="input-box">
				<label for="toadox" class="lable">Vị trí 1</label>
				<input class="input" onkeypress="return isNumber(event);" maxlength="5" type="text" name="toadox" value="{$toadox}">
			</div>
			<div class="input-box">
				<label for="toadoy" class="lable">Vị trí 2</label>
				<input class="input"  onkeypress="return isNumber(event);" maxlength="5" type="text" name="toadoy" value="{$toadoy}">
			</div>
			<div class="input-box">
				<label for="date_from" class="lable">Biên ngày</label>
				<input class="input date" type="text" name="date_to" value="{$_date_to}" /><img alt="..." src="{url path="images/calendar.gif"}">
			</div>
			<div class="input-box">
				<label for="dge" class="lable">Biên cầu chạy</label>
				<input class="input" onkeypress="return isNumber(event);" maxlength="2" type="text" name="dge" value="{$dge}">
			</div>
			<div class="input-box">
				{$city_html}
			</div>
			<div class="actions">
					<button type="submit" class="button">
						<span>Kiểm tra</span>
					</button>
				</div>
		</form>
		<div class="msg tc">{$dmsg}</div>
		{/if}
		<div class="box-ho">
			<div class="title-box">
				Chi tiết kết quả cầu <span class="red strong">{$dge}</span> ngày <strong>KQXS {$_CityName} </strong> 
			</div>
			<div class="bthu">
				{$_bacthu_html}
			</div>
		</div>
		{$detai_html}
	</div>
</div>
{/block}